export default {
	css: {
		// 根节点若无尺寸，自动获取父级节点
		width: '750rpx',
		height: '750rpx'
	},
	views: [{
			type: 'image',
			src: '${背景图}',
			css: {
				width: '750rpx',
				height: '750rpx',
				position: 'absolute',
				objectfit: 'cover',
				borderRadius: '20rpx',
			}
		},
		{
			css: {
				zIndex: 1,
				display: 'flex',
				position: "absolute",
				padding: '15px',
				justifyContent: 'space-between',
			},
			views: [{
					css: {
						height: '70rpx',
						objectfit: 'cover'
					},
					src: '${天气图}',
					type: 'image'
				},
				{
					css: {
						textAlign: 'right',
					},
					views: [{
						type: 'text',
						text: '${年月日}',
						css: {
							fontSize: '15px',
							color: "${颜色}"
						},
					}],
					type: 'view'
				}
			],
			type: 'view'
		}, {
			css: {
				left: '30rpx',
				top: '110rpx',
				position: "absolute",
			},
			views: [

				{
					type: 'text',
					text: '${天气信息}',
					css: {
						fontSize: '15px',
						color: "${颜色}",
						display: 'block'
					},
				},
				// {
				// 	type: 'text',
				// 	text: '${内容}',
				// 	css: {
				// 		paddingTop: '10rpx',
				// 		fontSize: '15px',
				// 		color: "${颜色}"
				// 	},
				// }
			],
			type: 'view'
		}, {
			css: {
				padding: '15rpx',
				position: "absolute",
				bottom: '30rpx',
				left: '20rpx',
				width: '680rpx',
				display: 'flex',
				alignItems: 'center',
				background: 'rgba(255,255,255,.8)',
				borderRadius: '5px',
			},
			views: [{
					type: 'image',
					src: '${头像}',
					css: {
						objectFit: "cover",
						width: "105rpx",
						border: "2rpx solid #fff",
						boxSizing: "border-box",
						height: "105rpx",
						borderRadius: "50%",
						marginRight: '9px'
					}
				},
				{
					css: {
						flex: 1
					},
					views: [{
							type: 'text',
							text: '连续早起',
							css: {
								fontSize: '15px',
								display:'block'
							},
						},
						{
							type: 'text',
							text: '第 ${天数} 天',
							css: {
								paddingTop: '5px',
								fontSize: '19px',
								fontWeight: 'bold',
								display:'block'
							},
						}
					],
					type: 'view'
				},
				{
					views: [{
							type: 'text',
							text: '今日打卡',
							css: {
								fontSize: '15px',
								display: 'block',
							},
						},
						{
							type: 'text',
							text: '${时间}',
							css: {
								display: 'block',
								paddingTop: '5px',
								fontSize: '19px',
								fontWeight: 'bold'
							},
						}
					],
					type: 'view'
				},
				{
					css: {
						display: 'flex',
						marginLeft: '20rpx'
					},
					views: [{
							type: 'qrcode',
							text: '${二维码}',
							css: {
								padding: '5px',
								width: '130rpx',
								height: '130rpx',
								background: 'white',
								display: 'block',
								marginRight: '10rpx'
							}
						},
						{
							type: 'text',
							text: "扫\n码\n说\n早\n安",
							css: {
								fontSize: '28rpx',
								lineHeight: '30rpx',
								writingMode: 'vertical-lr'
							},
						}
					],
					type: "view"
				}
			],
			type: 'view'
		}
	]
}